package xyz.xtt.pay.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dale
 * @date 2025/1/13
 **/
@Schema(name = "创建订单返回对象", description = "创建订单返回对象")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayCenterArgsResponse {
    @Schema(description = "跳转收银台url")
    private String payCenterUrl;

    @Schema(description = "跳转支付收银台参数")
    private PayCenterPayParam payParam;

    @Schema(description = "是否是新创建的订单")
    private boolean createNewOrder;

    @Schema(description = "是否是自动成功的订单")
    private boolean autoSuccessOrder;

    @Schema(description = "支付收银台版本")
    private String payCenterVersion = "v2";
}
